 #define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

int main()
{
	int a = 0;
	while (scanf("%d", &a) == 1)
	{
		if (a >= 140)
		{
			printf("Genius\n");
		}

	}

	return 0;
}
